colorswatch: Support touch events
authorMatthias Clasen <mclasen@redhat.com>
Sat, 3 Mar 2012 06:48:55 +0000 (01:48 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 3 Mar 2012 06:48:55 +0000 (01:48 -0500)
commitb43d00fa2acfb41387e3382b95037d55d4d472ab
treea9f1e92f2f20b7914649e5cfc10c6c6c04c5dbe1
parent88ebe2285fc159a9c7adeabcce294e2ed8d09b68
colorswatch: Support touch events

Support long press for customizing, and short press for
selecting/activating. This is simpler than the generic
press-and-hold support in the multitouch branch; we don't
display any feedback, and the timeout is currently hardcoded
to 1 second.
gtk/gtkcolorswatch.c